#pragma once

struct Char
{
	Char();

// 	ushort m_x;
// 	ushort m_y;
// 
// 	ushort m_width;
// 	ushort m_height;
// 
// 	ushort m_xoffset;
// 	ushort m_yoffset;
	ushort m_xadvance;

	glm::vec4 m_source;
	glm::vec4 m_destination;
};

class RFont
{
public:
	RFont();
	~RFont();

	RTexture* m_texture;

	ushort	m_lineHeight;
	ushort	m_base;
	ushort	m_width;
	ushort	m_height;
	ushort	m_pages;
	Char	m_chars[256];
};

